package collection;

import java.util.Scanner;

import org.apache.commons.lang3.StringUtils;

public class StringUtil {

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String a = scanner.nextLine();
		if (StringUtils.isEmpty(a)==false) {
			System.out.println(a.length());
			StringUtils.remove(a, "a");
			System.out.println(a);
		}
	}

}
